import request from '@/router/axios';

//工序配置辅料与资源信息获取工具信息
export const getToolList = (params) => {
    return request({
        url: `/library/profession-tech-process-tool/page`,
        method: 'get',
        params
    })
} 

//工序配置辅料与资源信息新增工具信息
export const addToolList = (data) => {
    return request({
        url: `/library/profession-tech-process-tool/add`,
        method: 'post',
        data
    })
} 

//工序配置辅料与资源信息删除工具信息
export const delToolList = (data) => {
    return request({
        url: `/library/profession-tech-process-tool/delete`,
        method: 'post',
        data
    })
} 

//工序配置辅料与资源信息获取工装信息
export const getFrockList = (params) => {
    return request({
        url: `/library/profession-tech-process-tooling/page`,
        method: 'get',
        params
    })
} 

//工序配置辅料与资源信息新增工装信息
export const addFrockList = (data) => {
    return request({
        url: `/library/profession-tech-process-tooling/add`,
        method: 'post',
        data
    })
} 

//工序配置辅料与资源信息删除工装信息
export const delFrockList = (data) => {
    return request({
        url: `/library/profession-tech-process-tooling/delete`,
        method: 'post',
        data
    })
} 

//工序配置辅料与资源信息获取设备信息
export const getDeviceList = (params) => {
    return request({
        url: `/library/profession-tech-process-device/page`,
        method: 'get',
        params
    })
} 

//工序配置辅料与资源信息新增设备信息
export const addDeviceList = (data) => {
    return request({
        url: `/library/profession-tech-process-device/add`,
        method: 'post',
        data
    })
} 

//工序配置辅料与资源信息删除设备信息
export const delDeviceList = (data) => {
    return request({
        url: `/library/profession-tech-process-device/delete`,
        method: 'post',
        data
    })
} 

//工序配置辅料与资源信息获取辅料信息
export const getAccessList = (params) => {
    return request({
        url: `/library/profession-tech-process-device/page`,
        method: 'get',
        params
    })
} 

//工序配置辅料与资源信息新增辅料信息
export const addAccessList = (data) => {
    return request({
        url: `/library/profession-tech-process-device/add`,
        method: 'post',
        data
    })
} 

//工序配置辅料与资源信息删除辅料信息
export const delAccesseList = (data) => {
    return request({
        url: `/library/profession-tech-process-device/delete`,
        method: 'post',
        data
    })
} 